package com.nix.model;

import com.nix.store.NXCharStorage;

/**
 * 这个类用于页面渲染 最终被 NXReaderWidget所调用
 * @author fangliang
 *
 */
public class NXTextModel {
	
	private char[] myCurrentDataBlock;
	
	
	protected int[] myStartEntryIndices;
	protected int[] myStartEntryOffsets;
	protected int[] myParagraphLengths;
	protected int[] myTextSizes;
	protected byte[] myParagraphKinds;

	protected int myParagraphsNumber;

	private NXCharStorage charStorage;
	
	
	
	
	
	
	
	
	
	public NXCharStorage getCharStorage() {
		return charStorage;
	}

	public void setCharStorage(NXCharStorage charStorage) {
		this.charStorage = charStorage;
	}

	public char[] getMyCurrentDataBlock() {
		return myCurrentDataBlock;
	}

	public void setMyCurrentDataBlock(char[] myCurrentDataBlock) {
		this.myCurrentDataBlock = myCurrentDataBlock;
	}

	public int[] getMyStartEntryIndices() {
		return myStartEntryIndices;
	}

	public void setMyStartEntryIndices(int[] myStartEntryIndices) {
		this.myStartEntryIndices = myStartEntryIndices;
	}

	public int[] getMyStartEntryOffsets() {
		return myStartEntryOffsets;
	}

	public void setMyStartEntryOffsets(int[] myStartEntryOffsets) {
		this.myStartEntryOffsets = myStartEntryOffsets;
	}

	public int[] getMyParagraphLengths() {
		return myParagraphLengths;
	}

	public void setMyParagraphLengths(int[] myParagraphLengths) {
		this.myParagraphLengths = myParagraphLengths;
	}

	public int[] getMyTextSizes() {
		return myTextSizes;
	}

	public void setMyTextSizes(int[] myTextSizes) {
		this.myTextSizes = myTextSizes;
	}

	public byte[] getMyParagraphKinds() {
		return myParagraphKinds;
	}

	public void setMyParagraphKinds(byte[] myParagraphKinds) {
		this.myParagraphKinds = myParagraphKinds;
	}

	public int getMyParagraphsNumber() {
		return myParagraphsNumber;
	}

	public void setMyParagraphsNumber(int myParagraphsNumber) {
		this.myParagraphsNumber = myParagraphsNumber;
	}
}
